import Vue from '../common/js/base';
import router from './router/index';
import store from './vuex/index';
import App from './App.vue';

import StoreUtil from '../common/js/StoreUtil';

// 对vuex的方法做了封装，方便在具体组件当中，方便的调用vuex中具体模块的方法
Vue.prototype = Object.assign(Vue.prototype, StoreUtil());

let vm = new Vue({
    el: '#app',
    router,
    store,
    template: '<App/>',
    components: {
        App
    }
});

